-
Home
-
Essential Addons for WooCommerce
-
1.0.1
-
Code
-
Classes
- CurrencyConverter
Total Complexity |
38 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
298 |
Lines of code |
225 |
Logical lines of code |
112 |
Comment lines |
37 |
Methods |
12 |
Properties |
5 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render_currency_switcher() |
A |
38 |
7 |
80 |
get_current_ip_address() |
S |
56 |
7 |
19 |
fetch_exchange_rate() |
S |
49 |
4 |
31 |
filter_price_html() |
S |
55 |
4 |
20 |
convert_cart_item_price() |
S |
56 |
4 |
18 |
is_valid_request() |
S |
78 |
4 |
3 |
doHooks() |
S |
53 |
1 |
25 |
convert_currency() |
S |
66 |
2 |
8 |
validate_currency() |
S |
65 |
2 |
9 |
sanitize_api_key() |
S |
79 |
1 |
3 |
sanitize_currencies() |
S |
73 |
1 |
5 |
get_currencies() |
S |
74 |
1 |
4 |